﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FSY.API.Utilities;
using FSY.API.Files;
namespace FSY.Web.Admin
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["register"] != null)
            {
                plhContener.Controls.Add(LoadControl(Fsy_FileController.GetVitualFilePath("Admin/Users/Registry.ascx")));
            }
            else
            {
                plhContener.Controls.Add(LoadControl(Fsy_FileController.GetVitualFilePath("Admin/Authentication/Login.ascx")));
            }
        }
    }
}
